package org.ajida.linux.util.struct;

import java.util.List;

/**
 * 抽出一个VO，再组合topInfo和TopProcess的list，是为了给使用者直接继承TopInfo类，不需要继承到list，这样可以做表
 * @author CaiDdongyu
 * @date 2022-3-5
 */
public class TopInfoVO extends TopInfo{

	/**
	 * 按cpu使用率从高到底排序
	 */
	public List<TopProcess> topCpuProcessList;
	
	/**
	 * 按内存使用率从高到底排序
	 */
	public List<TopProcess> topMemoryProcessList;
	
	public List<TopProcess> getTopCpuProcessList() {
		return topCpuProcessList;
	}

	public void setTopCpuProcessList(List<TopProcess> topCpuProcessList) {
		this.topCpuProcessList = topCpuProcessList;
	}

	public List<TopProcess> getTopMemoryProcessList() {
		return topMemoryProcessList;
	}

	public void setTopMemoryProcessList(List<TopProcess> topMemoryProcessList) {
		this.topMemoryProcessList = topMemoryProcessList;
	}
	
}
